import request from '@/utils/request'
// 封装函数 渲染页面
export const getArticleList = params => request.get('/admin/interview/query', { params })
// 添加页面
export const addArticleList = data => request.post(
  '/admin/interview/create', data)
// 删除
export const delArticle = id => request.delete('/admin/interview/remove/', { data: { id } })
// 编辑
export const getArticle = id => request.get('/admin/interview/show', { params: { id } })
// 修改
export const updateArticle = data => request.put('/admin/interview/update', data)
